package org.dromara.event.domain.bo;

import org.dromara.event.domain.EventAudit;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 活动审核业务对象 event_audit
 *
 * @author Lion Li
 * @date 2025-04-24
 */
@Data
@AutoMapper(target = EventAudit.class, reverseConvertGenerate = false)
public class EventAuditBo{

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 活动id
     */
    private Long eventId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 报名状态（0-审核中，1-审核通过，2-审核失败）
     */
    private String applyStatus;

    /**
     * 审核人
     */
    private Long auditUserId;

    /**
     * 审核时间
     */
    private Date auditTime;

    /**
     * 审核备注
     */
    private String auditRemark;

    /**
     * 活动结束时间
     */
    private Date endTime;

    /**
     * 活动开始时间
     */
    private Date startTime;

}
